package one.chapter_1;

public class Stopwatch {

    private long start;
    public Stopwatch(){
        start=System.currentTimeMillis();
    }


    public double elapsedTime(){
        return (System.currentTimeMillis()-start)/1000d;
    }
}
